package com.lalala.entity;

import java.util.Date;

/**
 * 学生实体
 *
 * @author lalala
 * @createdate 2021/9/1 19:03 周三
 */
public class Student {
	private String studentID; // 学号
	private String name; // 姓名
	private String gender; // 性别
	private String birthday; // 生日
	private String phoneNumber; // 电话号码

	public Student() {
	}

	public Student(String studentID, String name, String gender,
				   String birthday, String phoneNumber) {
		this.studentID = studentID;
		this.name = name;
		this.gender = gender;
		this.birthday = birthday;
		this.phoneNumber = phoneNumber;
	}

	public String getStudentID() {
		return studentID;
	}

	public void setStudentID(String studentID) {
		this.studentID = studentID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	@Override
	public String toString() {
		return "Student{" +
				"studentID=" + studentID +
				", name=" + name +
				", gender=" + gender +
				", birthday=" + birthday +
				", phoneNumber=" + phoneNumber +
				'}';
	}

	public Object[] toParam(){
		return new Object[]{studentID, name, gender, birthday, phoneNumber};
	}
}
